from baobaoxiong.WXBizDataCrypt import WXBizDataCrypt


def main(appid, sessionkey, encrypteddata, iv):

    pc = WXBizDataCrypt(appid, sessionkey)

    data = (pc.decrypt(encrypteddata, iv))
    return data['phoneNumber']


